package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Information;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface InformationMapper {

    int insert(Information record);


    Information selectByPrimaryKey(Long id);

    List<Map> selectAll(QueryObject qo);

    void insertRelation(@Param("commentId") Long commentId, @Param("type") Integer type);

}